package com.jugheadzhou.mqtt.consumer.service;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author jugheadzhou
 */
@Slf4j
@Service
public class MachineStatusService {

    public void handleStatus(String msg) {
        JSONObject jsonObject = JSON.parseObject(msg);

        log.info("开始更新MDC设备状态：{}", jsonObject);
    }

}
